package com.mediastory.spsserver.content.domain;

import java.util.ArrayList;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

/**
 * Content Domain
 * @author Jaewon Choi
 *
 */
public class Content {

	private Integer idx;
	private Integer cIdx;
	private Integer userIdx;
	private String title;
	private String contDesc;
	private String happenDate;
	private String happenTime;
	private String readNum;
	private String address;
	private String latitude;
	private String longitude;
	private String createdTime;
	private String modifiedTime;
	private Integer isDel;
	private Integer reward;
	private Integer finish;
	
	private Integer categoryIdx;
	private String categoryNm;
	private Float dispOrder;
	
	private Integer[] contFileIdx;
	private List<MultipartFile> contFiles = new ArrayList<MultipartFile>();
	private String[] contFileTypes;
	private String[] contFileDatas;
	private String[] emblems;
	
	public Integer getIdx() {
		return idx;
	}
	public void setIdx(Integer idx) {
		this.idx = idx;
	}
	public Integer getcIdx() {
		return cIdx;
	}
	public void setcIdx(Integer cIdx) {
		this.cIdx = cIdx;
	}
	public Integer getUserIdx() {
		return userIdx;
	}
	public void setUserIdx(Integer userIdx) {
		this.userIdx = userIdx;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContDesc() {
		return contDesc;
	}
	public void setContDesc(String contDesc) {
		this.contDesc = contDesc;
	}
	public String getHappenDate() {
		return happenDate;
	}
	public void setHappenDate(String happenDate) {
		this.happenDate = happenDate;
	}
	public String getHappenTime() {
		return happenTime;
	}
	public void setHappenTime(String happenTime) {
		this.happenTime = happenTime;
	}
	public String getReadNum() {
		return readNum;
	}
	public void setReadNum(String readNum) {
		this.readNum = readNum;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getLatitude() {
		return latitude;
	}
	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
	public String getLongitude() {
		return longitude;
	}
	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	public String getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(String createdTime) {
		this.createdTime = createdTime;
	}
	public String getModifiedTime() {
		return modifiedTime;
	}
	public void setModifiedTime(String modifiedTime) {
		this.modifiedTime = modifiedTime;
	}
	public Integer getIsDel() {
		return isDel;
	}
	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}
	public Integer getCategoryIdx() {
		return categoryIdx;
	}
	public void setCategoryIdx(Integer categoryIdx) {
		this.categoryIdx = categoryIdx;
	}
	public String getCategoryNm() {
		return categoryNm;
	}
	public void setCategoryNm(String categoryNm) {
		this.categoryNm = categoryNm;
	}
	public Float getDispOrder() {
		return dispOrder;
	}
	public void setDispOrder(Float dispOrder) {
		this.dispOrder = dispOrder;
	}
	public Integer[] getContFileIdx() {
		return contFileIdx;
	}
	public void setContFileIdx(Integer[] contFileIdx) {
		this.contFileIdx = contFileIdx;
	}
	public List<MultipartFile> getContFiles() {
		return contFiles;
	}
	public void setContFiles(List<MultipartFile> contFiles) {
		this.contFiles = contFiles;
	}
	public String[] getContFileTypes() {
		return contFileTypes;
	}
	public void setContFileTypes(String[] contFileTypes) {
		this.contFileTypes = contFileTypes;
	}
	public String[] getContFileDatas() {
		return contFileDatas;
	}
	public void setContFileDatas(String[] contFileDatas) {
		this.contFileDatas = contFileDatas;
	}
	public String[] getEmblems() {
		return emblems;
	}
	public void setEmblems(String[] emblems) {
		this.emblems = emblems;
	}
	public Integer getReward() {
		return reward;
	}
	public void setReward(Integer reward) {
		this.reward = reward;
	}
	public Integer getFinish() {
		return finish;
	}
	public void setFinish(Integer finish) {
		this.finish = finish;
	}	
	
}